<a href='https://github.com/angular/angular.js/edit/v1.6.x/docs/content/error/$sce/imatcher.ngdoc?message=docs(error%2Fimatcher)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a>


<h1>Error: $sce:imatcher
  <div><span class='hint'>Invalid matcher (only string patterns and RegExp instances are supported)</span></div>
</h1>

<div>
    <pre class="minerr-errmsg" error-display="Matchers may only be "self", string patterns or RegExp objects">Matchers may only be "self", string patterns or RegExp objects</pre>
</div>

<h2>Description</h2>
<div class="description">
  <p>Please see <a href="api/ng/provider/$sceDelegateProvider#resourceUrlWhitelist">$sceDelegateProvider.resourceUrlWhitelist</a> and <a href="api/ng/provider/$sceDelegateProvider#resourceUrlBlacklist">$sceDelegateProvider.resourceUrlBlacklist</a> for the
list of acceptable items.</p>

</div>


